SERVER=server
CLIENT=client
CC=g++
SERVER_SRC=Server.cc
CLINET_SRC=Client.cc

.PHONY:all
all:$(SERVER) $(CLIENT)

$(SERVER):$(SERVER_SRC)
	$(CC) -o $@ $^ -std=c++11

$(CLINET):$(CLINET_SRC)
	$(CC) -o $@ $^ -std=c++11


.PHONY:clean
clean:
	rm -f $(SERVER) $(CLIENT)
